@layout("/common/_containers.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>报表管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <#TimeCon id="startTime" name="到店时间" isTime="true"  pattern="YYYY-MM-DD hh:mm:ss" />
                            </div>
                            <div class="col-sm-3">
                                <#TimeCon id="endTime" name="-" isTime="true"  pattern="YYYY-MM-DD hh:mm:ss" />
                            </div>
                            <div class="row">
                                <label class="col-sm-1 btn addBtn addBtn_x2">维度选择</label>
                                <div class="col-sm-2 addBtn_y2">
                                    <select class="form-control" id="dimensionSelection" name="dimensionSelection">
                                        <option value="department">科室</option>
                                        <option value="customerAge">年龄</option>
                                        <option value="medium">媒介</option>
                                        <option value="tcName">TC</option>
                                        <option value="doctor">医生</option>
                                        <option value="channel">渠道</option>
                                        <option value="cities">城市</option>
                                        <option value="occupation">职业</option>
                                    </select>
                                </div>
                            </div>
                            <div class="col-sm-3">
                                <div class="search_bt" onclick="WholeHospital.search()">搜索</div>
                                <div class="search_bt" onclick="WholeHospital.resetSearch()">重置</div>
                            </div>
                        </div>
                        <div class="hidden-xs" id="ReservationsTableToolbar" role="group">
                            <div class="other_bt" onclick="WholeHospital.openBillImport()">账单明细导入</div>
                            <div class="other_bt" onclick="WholeHospital.openConsumerStatisticsImport()">消费者统计导入</div>
                            <div class="other_bt" onclick="WholeHospital.openOperationAnalysisImport()">运营分析统计导入</div>
                            <div class="other_bt" onclick="WholeHospital.openTreatmentAnalysisImport()">就诊分析统计导入</div>
                            <div class="other_bt" onclick="WholeHospital.openReservationsDetail()">导出</div>
                            <div class="other_bt" onclick="WholeHospital.downLoadExcel()">导出运营分析统计</div>
                            <div class="other_bt" onclick="WholeHospital.downLoadExcels()">导出运营分析统计Id</div>
                        </div>
                        <#table id="WholeHospitalTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/report/wholeHospital.js"></script>
@}
<style>
    .search_bt, .other_bt {
        cursor: pointer;
        display: inline-block;
        width: 115px;
        height: 27px;
        line-height: 27px;
        color: white;
        text-align: center;
        font-size: 13px;
        border-radius: 20px;
        margin-bottom: 5px;
    }

    .search_bt {
        background: url("${ctxPath}/static/img/x18.png") no-repeat;
        background-size: cover;
    }

    .other_bt {
        background: url("${ctxPath}/static/img/x19.png") no-repeat;
        background-size: cover;
    }

</style>